/*
 * @Author: your name
 * @Date: 2020-08-23 20:19:07
 * @LastEditTime: 2020-08-27 20:26:29
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \新建文件夹\two-app\src\api\login.js
 */
import { postUrl, getUrl } from '../utils/https'
// 登陆
export const loginuser = (data) => {
  return postUrl('/user/login', data)
}
// 获取身份
export const getUserInfo = () => {
  return getUrl('/user/userInfo')
}

export const getExamList = () => {
  return getUrl('/exam/subject')
}

export const getExamType = () => {
  return getUrl('/exam/examType')
}

export const postList = (data) => {
  return postUrl('/exam/exam', data)
}

export const getListArr = () => {
  return getUrl('/exam/exam')
}

export const lookListArr = (data) => {
  return getUrl('/exam/questions/condition', data)
}

export const lookGetListArr = () => {
  return getUrl('/exam/student/4edl4i-k0rr7a-b3yna-f87a9w')
}
